﻿using System;
using System.Data;
using System.Configuration;
using System.Web;


using System.Text.RegularExpressions;

namespace CMN.Common.RegExpression
{
    /// <summary>
    ///IRegExpression 的摘要说明
    /// </summary>
    public interface IRegExpression
    {
        /// <summary>
        ///  是否匹配
        /// </summary>
        /// <param name="content"></param>
        /// <returns></returns>
        bool IsMatch(string content);

        /// <summary>
        /// content负责保存中间结果
        /// </summary>
        /// <param name="content"></param>
        void Evaluate(RegContext content);
    }
}

